package com.example.administrator.yunniuusedcar.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.example.administrator.common.ui.BaseAdapterRV;
import com.example.administrator.common.ui.BaseHolderRV;
import com.example.administrator.yunniuusedcar.holder.ContentInfo2_2ActionInfoHolder;
import com.example.administrator.yunniuusedcar.model.mode_benn.WZ_ArticleInfoBean;

import java.util.List;

/**   活动资讯
 * Created by Administrator on 2017/12/18.
 */

public class Info02ActionAdapter extends BaseAdapterRV<WZ_ArticleInfoBean.Data> {
    public Info02ActionAdapter(Context context, List<WZ_ArticleInfoBean.Data> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolderRV<WZ_ArticleInfoBean.Data> createViewHolder(Context context, ViewGroup parent, int viewType) {
        return new ContentInfo2_2ActionInfoHolder(context,parent,this);   // setText  hloder
    }
}
